from PyQt6.QtWidgets import QWidget, QVBoxLayout, QLabel
from qfluentwidgets import CardWidget, FluentIcon as FIF

class ProfileWidget(QWidget):
    def __init__(self):
        super().__init__()
        self.setup_ui()
        
    def setup_ui(self):
        layout = QVBoxLayout(self)
        
        # 个人信息卡片
        info_card = CardWidget()
        info_layout = QVBoxLayout(info_card)
        
        # 用户名
        username_label = QLabel("用户名: Admin")
        info_layout.addWidget(username_label)
        
        # 积分
        points_label = QLabel("积分: 100")
        info_layout.addWidget(points_label)
        
        # 上传题目统计
        upload_stats = QLabel("已上传题目: 10")
        info_layout.addWidget(upload_stats)
        
        layout.addWidget(info_card)
        layout.addStretch() 